

<head>
    <title>紫云网</title>
</head>
<body style="overflow-y:hidden;">
<style>*{margin:0px; padding:0px;font-family: 微软雅黑;}</style>
<div style="width:1200px; height:600px; background:url('http://www.11ziyun.com/images/pc/wxpay/bg003.png')  #fff no-repeat 720px center; position:absolute; top:20%; left:20%;border: 1px solid  #d9dadc;">
    <div style=" width:100%; height:45px; line-height:45px; text-indent:30px; color:#202020; background:#f4f5f9;    font-weight: bold; font-size:16px;">收银台</div>
    <div style="text-align:center; height:370px; width:455px; background:#FFF;    margin-top: 30px; margin-left: 240px;">
        <p style="font-size:18px; color:#3b3b3b;">扫一扫付款（元）</p>
        <p style="font-size:26px; color:#ff6600;font-weight: bold;padding-top: 10px;">¥${rechargeAmount}</p>
        <p style="width:300px; height:360px;border: 1px solid  #d9dadc; margin:15px auto;">
        	<span style="display:block;height: 20px;" >
			</span>
			<span style="display:block;" id="qrcode">
			</span>
			<span style="display:block;height: 20px;" >
			</span>
            <span style="display:block;     font-size: 12px;    line-height: 20px;">
				<img   src="http://www.11ziyun.com/images/pc/wxpay/wenzi.png" style="width:260px;height:90px; "/>
			</span>
        </p>
        <p style="color:#999;font-weight: bold;font-size: 16px;">如果二维码生成失败，请刷新页面<a  href="javascript:window.location.reload();" style="color:#09bb07">重新生成</a></p>
    </div>
</div>
<div style="width:100%; height:58px; border-bottom:1px solid #d9dadc; border-top:4px solid #44b549;">
    <div style="width:1200px; height:100%; margin:0 auto;background:url('http://www.11ziyun.com/images/pc/wxpay/wx.jpg') no-repeat left center; font-size:30px; line-height:58px; text-indent:50px; color:#818181;">微信支付</div>
</div>
<div style="width:100%; height:100%; background:rgba(231,232,235,0.5)"></div>
<input type="hidden" name="out_trade_no" id="out_trade_no" value="1810101453115267"/>
<input type="hidden" id="code_url" value="${code_url}"/>
<script type="text/javascript" src=" http://www.11ziyun.com/js/jquery-1.12.2.min.js "></script>
<script type="text/javascript" src=" http://www.11ziyun.com/js/ziyun_library.js "></script>
<script type="text/javascript" src="http://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
<script>
    var id = setInterval(function () {
        doAjax('http://www.11ziyun.com/paycenter/getPayStatus/181009182946526', 'get', '', function (res) {
            if (res['result'] == '1') {
                if (res['success'] == '1') {
                    clearInterval(id);
                    window.location.href = res['url'];
                }
            }
        })
    }, 3000)
</script>

<script >

jQuery('#qrcode').qrcode({
    width: 250,
    height: 230,
    text: $("#code_url").val()
});


</script>



